/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import exception.InvalidCommandException;
import exception.InvalidCommandReferenceException;

/**
 *
 * @author think
 */
public interface Executable {

    public boolean finished();

//    public String getOutput();
//
//    public boolean isSucceed();

    public void run() throws InvalidCommandException, InvalidCommandReferenceException;
    public VMMachine getMachine();
    public void setResult(CommandResult result);
    public CommandResult getResult();
//    public void setOutput(String output);
//    public void setResult(int result);
    public String getCmd();

}


